/**
 * 生产计划
 */

import http from '../../http'

/**
 * 列表
 */
const index = (param) => http.post('plan/index', param)

/**
 * 详情
 */
const getdetail = (param) => http.post('plan/getdetail', param)

/**
* 添加
*/
const add = (param) => http.post('plan/add', param)

/**
 * 更新
 */
const edit = (param) => http.post('plan/edit', param)

/**
* 删除
*/
const del = (param) => http.post('plan/del', param)

/**
* 审核/反审核
*/
const examine = (param) => http.post('plan/examine', param)

export default {
  index,
  getdetail,
  add,
  edit,
  del,
  examine
}
